package zengjin.model.en;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;

/**
 * 
 * @author 19324
 * @TableName offer
 */
@TableName(value ="offer")
@Data
public class Offer implements Serializable {
    /**
     * 主键ID
     */
    @TableId
    private Long offerId;

    /**
     * offer发的求职者ID
     */
    private Long offerJobseekerId;

    /**
     * offer发的岗位ID
     */
    private Long offerJobId;

    /**
     * offer的企业ID
     */
    private Long offerEmployerId;

    /**
     * offer状态，已发送，已接收，已拒绝，已过期
     */
    private String offerStatus;

    /**
     * offer备注，补充信息
     */
    private String offerRemarks;

    /**
     * offer截止时间
     */
    private Date offerEndTime;

    /**
     * 
     */
    private Date createTime;

    /**
     * 
     */
    private Date updateTime;

    /**
     * 
     */
    //    逻辑删除
    @TableLogic
    private Integer isDeleted;

    @Serial
    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}